﻿using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using AutoR.Helpers;
using Newtonsoft.Json;
using Prism.Mvvm;

namespace AutoR.Models
{
	// Token: 0x020001AA RID: 426
	public class Friend : BindableBase
	{
		// Token: 0x17000206 RID: 518
		// (get) Token: 0x0600089C RID: 2204 RVA: 0x0006A217 File Offset: 0x00068417
		// (set) Token: 0x0600089D RID: 2205 RVA: 0x0006A220 File Offset: 0x00068420
		public int uid
		{
			[CompilerGenerated]
			get
			{
				return this.<uid>k__BackingField;
			}
			[CompilerGenerated]
			set
			{
				if (this.<uid>k__BackingField == value)
				{
					return;
				}
				this.<uid>k__BackingField = value;
				this.OnPropertyChanged(<>PropertyChangedEventArgs.uid);
			}
		}

		// Token: 0x17000207 RID: 519
		// (get) Token: 0x0600089E RID: 2206 RVA: 0x0006A24D File Offset: 0x0006844D
		// (set) Token: 0x0600089F RID: 2207 RVA: 0x0006A258 File Offset: 0x00068458
		public string username
		{
			[CompilerGenerated]
			get
			{
				return this.<username>k__BackingField;
			}
			[CompilerGenerated]
			set
			{
				if (string.Equals(this.<username>k__BackingField, value, StringComparison.Ordinal))
				{
					return;
				}
				this.<username>k__BackingField = value;
				this.OnPropertyChanged(<>PropertyChangedEventArgs.username);
			}
		}

		// Token: 0x17000208 RID: 520
		// (get) Token: 0x060008A0 RID: 2208 RVA: 0x0006A289 File Offset: 0x00068489
		// (set) Token: 0x060008A1 RID: 2209 RVA: 0x0006A294 File Offset: 0x00068494
		public string level
		{
			[CompilerGenerated]
			get
			{
				return this.<level>k__BackingField;
			}
			[CompilerGenerated]
			set
			{
				if (string.Equals(this.<level>k__BackingField, value, StringComparison.Ordinal))
				{
					return;
				}
				this.<level>k__BackingField = value;
				this.OnPropertyChanged(<>PropertyChangedEventArgs.level);
			}
		}

		// Token: 0x17000209 RID: 521
		// (get) Token: 0x060008A2 RID: 2210 RVA: 0x0006A2C5 File Offset: 0x000684C5
		// (set) Token: 0x060008A3 RID: 2211 RVA: 0x0006A2D0 File Offset: 0x000684D0
		[JsonConverter(typeof(DateTimeConverter))]
		public DateTime last_login_time
		{
			[CompilerGenerated]
			get
			{
				return this.<last_login_time>k__BackingField;
			}
			[CompilerGenerated]
			set
			{
				if (DateTime.Equals(this.<last_login_time>k__BackingField, value))
				{
					return;
				}
				this.<last_login_time>k__BackingField = value;
				this.OnPropertyChanged(<>PropertyChangedEventArgs.last_login_time);
			}
		}

		// Token: 0x1700020A RID: 522
		// (get) Token: 0x060008A4 RID: 2212 RVA: 0x0006A300 File Offset: 0x00068500
		// (set) Token: 0x060008A5 RID: 2213 RVA: 0x0006A308 File Offset: 0x00068508
		public List<UserShip> UserShip
		{
			[CompilerGenerated]
			get
			{
				return this.<UserShip>k__BackingField;
			}
			[CompilerGenerated]
			set
			{
				if (object.Equals(this.<UserShip>k__BackingField, value))
				{
					return;
				}
				this.<UserShip>k__BackingField = value;
				this.OnPropertyChanged(<>PropertyChangedEventArgs.UserShip);
			}
		}

		// Token: 0x1700020B RID: 523
		// (get) Token: 0x060008A6 RID: 2214 RVA: 0x0006A338 File Offset: 0x00068538
		// (set) Token: 0x060008A7 RID: 2215 RVA: 0x0006A340 File Offset: 0x00068540
		public bool IsSelected
		{
			[CompilerGenerated]
			get
			{
				return this.<IsSelected>k__BackingField;
			}
			[CompilerGenerated]
			set
			{
				if (this.<IsSelected>k__BackingField == value)
				{
					return;
				}
				this.<IsSelected>k__BackingField = value;
				this.OnPropertyChanged(<>PropertyChangedEventArgs.IsSelected);
			}
		}
	}
}
